<?php
if($this->Session->read('login')=='yes')
{
?>
    <div class="users view">
        <h2><?php  echo __('User'); ?></h2>

        <table>
    <!--    <th><?php echo __('User ID'); ?></th>
            <tr><td>
                <?php echo h($user['User']['UserID']); ?>
                &nbsp;
            </td></tr>-->
            <th><?php echo __('User Name'); ?></th>
            <tr><td>
                <?php echo h($user['User']['UserName']); ?>
                &nbsp;
            </td></tr>
            <th><?php echo __('Password'); ?></th>
            <tr><td>
                <?php echo h($user['User']['Password']); ?>
                &nbsp;
            </td></tr>
            <th><?php echo __('First Name'); ?></th>
            <tr><td>
                <?php echo h($user['User']['FirstName']); ?>
                &nbsp;
            </td></tr>
            <th><?php echo __('Last Name'); ?></th>
            <tr><td>
                <?php echo h($user['User']['LastName']); ?>
                &nbsp;
            </td></tr>

    </table>
            <?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $user['User']['UserID'])); ?>
    <?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $user['User']['UserID']), null, __('Are you sure you want to delete # %s?', $user['User']['UserID'])); ?>
    </div>



<?php
}else
{?>
    <p>You can't view the content in this page</p>
<?php
}
?>
